package com.xjtu.platform.security;

import com.xjtu.platform.security.dto.AdminLoginDto;
import com.xjtu.platform.security.dto.LoginDto;
import com.xjtu.platform.security.dto.NewPwdDto;
import com.xjtu.platform.security.entitiy.Info;

public interface LoginService {
    boolean checkLogin(LoginDto loginDto);

    String getReaderId(String readerCode);

    boolean updatePwd(NewPwdDto newPwdDto, String readerId);

    Info getInfo(String readerId);

    boolean checkAdminLogin(AdminLoginDto adminLoginDto);

    String getAdminId(String admin_code);
}
